<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="com.baidu.ueditor.ActionEnter"
    pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%

    request.setCharacterEncoding( "utf-8" );
	response.setHeader("Content-Type" , "text/html");
	String action = request.getParameter("action");
	if(action!=null && action.equals("uploadimage")){
		request.getRequestDispatcher("/file/upload").forward(request,response);
	}else{
		String rootPath = application.getRealPath( "/" );
		out.write( new ActionEnter( request, rootPath ).exec() );
	}
%>